package com.ruoyi.old.service.impl;

import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.data.domain.TdataHtEq;
import com.ruoyi.data.domain.TdataHtWg;
import com.ruoyi.data.domain.TdataRtRs;
import com.ruoyi.data.domain.TdataRtWgc;
import com.ruoyi.old.mapper.OldDataMapper;
import com.ruoyi.old.service.OldDataService;
import com.ruoyi.param.domain.TparamEq;
import com.ruoyi.param.domain.TparamTm;
import com.ruoyi.param.domain.TparamTp;
import com.ruoyi.param.domain.TparamUe;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@DataSource(DataSourceType.SLAVE)
public class OldDataServiceImpl implements OldDataService {

    @Autowired
    private OldDataMapper tdataRtRsMapper;

    @Override
    public List<TdataRtRs> selectDataRtRsList(List<String> roomIds) {
        return tdataRtRsMapper.selectDataRtRsList(roomIds);
    }

    @Override
    public List<TdataHtEq> selectDataHtEqList(List<String> roomIds) {
        return tdataRtRsMapper.selectDataHtEqList(roomIds);
    }

    @Override
    public List<TdataHtWg> selectDataHtWgList(List<String> roomIds) {
        return tdataRtRsMapper.selectDataHtWgList(roomIds);
    }

    @Override
    public List<TdataRtWgc> selectDataRtWgcList(List<String> roomIds) {
        return tdataRtRsMapper.selectDataRtWgcList(roomIds);
    }

    @Override
    public List<TparamEq> selectParamEqList(List<String> roomIds) {
        return tdataRtRsMapper.selectParamEqList(roomIds);
    }

    @Override
    public List<TparamTm> selectParamTmList(List<String> roomIds) {
        return tdataRtRsMapper.selectParamTmList(roomIds);
    }

    @Override
    public List<TparamTp> selectParamTpList(List<String> roomIds) {
        return tdataRtRsMapper.selectParamTpList(roomIds);
    }

    @Override
    public List<TparamUe> selectParamUeList(List<String> roomIds) {
        return tdataRtRsMapper.selectParamUeList(roomIds);
    }

    @Override
    public List<TdataRtRs> selectTodayDataRtRsList(List<String> roomIds) {
        return tdataRtRsMapper.selectTodayDataRtRsList(roomIds);
    }

    @Override
    public List<TdataHtEq> selectTodayDataHtEqList(List<String> roomIds) {
        return tdataRtRsMapper.selectTodayDataHtEqList(roomIds);
    }

    @Override
    public List<TdataHtWg> selectTodayDataHtWgList(List<String> roomIds) {
        return tdataRtRsMapper.selectTodayDataHtWgList(roomIds);
    }

    @Override
    public List<TdataRtWgc> selectTodayDataRtWgcList(List<String> roomIds) {
        return tdataRtRsMapper.selectTodayDataRtWgcList(roomIds);
    }

    @Override
    public List<TparamEq> selectTodayParamEqList(List<String> roomIds) {
        return tdataRtRsMapper.selectTodayParamEqList(roomIds);
    }

    @Override
    public List<TparamTm> selectTodayParamTmList(List<String> roomIds) {
        return tdataRtRsMapper.selectTodayParamTmList(roomIds);
    }

    @Override
    public List<TparamTp> selectTodayParamTpList(List<String> roomIds) {
        return tdataRtRsMapper.selectTodayParamTpList(roomIds);
    }

    @Override
    public List<TparamUe> selectTodayParamUeList(List<String> roomIds) {
        return tdataRtRsMapper.selectTodayParamUeList(roomIds);
    }
}
